<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.org/ui" xmlns:a4j="http://richfaces.org/a4j"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

	<h:panelGrid id="display" columns="2" cellpadding="4"
		style="width:400px;" styleClass="ui-widget-content"
		columnClasses="label, value">

		<f:facet name="header">
			<center>
				<h:outputText value="Özellikler" />
			</center>
			<br></br>
		</f:facet>

		<h:outputText value="Firma:" />
		<h:outputText id="urunFirmaIsim"
			value="#{TvBean.selectedTv.sirketprofil.firmaAd}" />

		<h:outputText value="Marka:" />
		<p:inputText id="urunMarka"
			value="#{TvBean.selectedTv.aygit.marka}" />

		<h:outputText value="Model:" />
		<p:inputText id="firmaModel"
			value="#{TvBean.selectedTv.aygit.model}" />

		<h:outputText value="Ekran Boyutu:" />
		<p:inputText id="urunEkranBoyutu"
			value="#{TvBean.selectedTv.ekranBoyutu}" />

		<h:outputText value="Aspect Ratio:" />
		<p:inputText id="urunAspectRatio"
			value="#{TvBean.selectedTv.aspectRatio}" />

		<h:outputText value="Parlaklık:" />
		<p:inputText id="urunParlaklik"
			value="#{TvBean.selectedTv.parlaklik}" />

		<h:outputText value="Renk Sistemi:" />
		<p:inputText id="urunRenkSistemi"
			value="#{TvBean.selectedTv.renkSistemi}" />

		<h:outputText value="Kontrast:" />
		<p:inputText id="urunKontrast"
			value="#{TvBean.selectedTv.kontrast}" />

		<h:outputText value="İzleme Açısı:" />
		<p:inputText id="urunizlemeAcisi"
			value="#{TvBean.selectedTv.izlemeAcisi}" />

		<h:outputText value="Çözünürlük:" />
		<p:inputText id="urunCozunurluk"
			value="#{TvBean.selectedTv.cozunurluk}" />

		<h:outputText value="PC Sinyal:" />
		<p:inputText id="urunPcSinyalAlgi"
			value="#{TvBean.selectedTv.pcSinyalAlgi}" />

		<h:outputText value="Video Formatı:" />
		<p:inputText id="urunVideoFormati"
			value="#{TvBean.selectedTv.videoFormati}" />

		<h:outputText value="HD:" />
		<p:inputText id="urunHd"
			value="#{TvBean.selectedTv.hd}" />

		<h:outputText value="Scart:" />
		<p:inputText id="urunScart"
			value="#{TvBean.selectedTv.scart}" />

		<h:outputText value="Component:" />
		<p:inputText id="urunComponent"
			value="#{TvBean.selectedTv.component}" />

		<h:outputText value="Tuner:" />
		<p:inputText id="urunTuner"
			value="#{TvBean.selectedTv.tuner}" />

		<h:outputText value="Composite Video:" />
		<p:inputText id="urunCompositeVideo"
			value="#{TvBean.selectedTv.compositeVideo}" />

		<h:outputText value="HDMI:" />
		<p:inputText id="urunHdmi"
			value="#{TvBean.selectedTv.hdmi}" />

		<h:outputText value="USB:" />
		<p:inputText id="urunUsb"
			value="#{TvBean.selectedTv.usb}" />

		<h:outputText value="Audio in:" />
		<p:inputText id="urunAudioin"
			value="#{TvBean.selectedTv.audioin}" />

		<h:outputText value="Audio Out:" />
		<p:inputText id="urunAudioOut"
			value="#{TvBean.selectedTv.audioOut}" />

		<h:outputText value="Kulaklik Girisi:" />
		<p:inputText id="urunKulaklikGirisi"
			value="#{TvBean.selectedTv.kulaklikGirisi}" />

		<h:outputText value="Motion Flow:" />
		<p:inputText id="urunMotionFlow"
			value="#{TvBean.selectedTv.motionFlow}" />

		<h:outputText value="Theathe Mode:" />
		<p:inputText id="urunTheatheMode"
			value="#{TvBean.selectedTv.theatheMode}" />

		<h:outputText value="Ambient Sensor:" />
		<p:inputText id="urunAmbientSensor"
			value="#{TvBean.selectedTv.ambientSensor}" />

		<h:outputText value="Picture Mode:" />
		<p:inputText id="urunPictureMode"
			value="#{TvBean.selectedTv.pictureMode}" />

		<h:outputText value="Screen Mode:" />
		<p:inputText id="urunScreenMode"
			value="#{TvBean.selectedTv.screenMode}" />

		<h:outputText value="3D Digital Comb Filter:" />
		<p:inputText id="urunDgtal3dComb"
			value="#{TvBean.selectedTv.dgtal3dComb}" />

		<h:outputText value="USB Media Filter:" />
		<p:inputText id="urunUsbMediaFilter"
			value="#{TvBean.selectedTv.usbMediaFilter}" />

		<h:outputText value="Saat:" />
		<p:inputText id="urunSaat"
			value="#{TvBean.selectedTv.saat}" />

		<h:outputText value="Sleep Timer:" />
		<p:inputText id="urunSleepTimer"
			value="#{TvBean.selectedTv.sleepTimer}" />

		<h:outputText value="On-Off Timer:" />
		<p:inputText id="urunOnOffTimer"
			value="#{TvBean.selectedTv.onOffTimer}" />

		<h:outputText value="Teletext:" />
		<p:inputText id="urunTeletext"
			value="#{TvBean.selectedTv.teletext}" />

		<h:outputText value="PC Power Manage:" />
		<p:inputText id="urunPcPowerManage"
			value="#{TvBean.selectedTv.pcPowerManage}" />

		<h:outputText value="Enerji Tasarruf Modu:" />
		<p:inputText id="urunEnerjiTasarrufMode"
			value="#{TvBean.selectedTv.enerjiTasarrufMode}" />

		<h:outputText value="Hoparlör:" />
		<p:inputText id="urunHoparlor"
			value="#{TvBean.selectedTv.hoparlor}" />

		<h:outputText value="Ses Modu:" />
		<p:inputText id="urunSesModu"
			value="#{TvBean.selectedTv.sesModu}" />

		<h:outputText value="Dolby Digital:" />
		<p:inputText id="urunDolbyDigital"
			value="#{TvBean.selectedTv.dolbyDigital}" />

		<h:outputText value="Surround Mode:" />
		<p:inputText id="urunSurroundMode"
			value="#{TvBean.selectedTv.surroundMode}" />

		<h:outputText value="StandBy:" />
		<p:inputText id="urunStandBy"
			value="#{TvBean.selectedTv.standBy}" />

		<h:outputText value="Home Mode:" />
		<p:inputText id="urunHomeMode"
			value="#{TvBean.selectedTv.homeMode}" />

		<h:outputText value="Ağırlık:" />
		<p:inputText id="urunAgirlik"
			value="#{TvBean.selectedTv.agirlik}" />

		<h:outputText value="Yerdeki Boyutu:" />
		<p:inputText id="urunYerdekiBoyutu"
			value="#{TvBean.selectedTv.yerdekiBoyutu}" />

		<h:outputText value="Duvardaki Boyutu:" />
		<p:inputText id="urunDuvardakiBoyutu"
			value="#{TvBean.selectedTv.duvardakiBoyutu}" />

		<h:outputText value="Garanti Suresi:" />
		<p:inputText id="urunGarantiSuresi"
			value="#{TvBean.selectedTv.garantiSuresi}" />
	</h:panelGrid>
	<c:if test="#{AygitBean.yeniUrun==false}">

		<p:dataGrid var="resim" value="#{ResimlerBean.selectedAygitResimList}"
			columns="3" rows="6" paginator="true" id="resimListesi"
			paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} 
					{PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
			rowsPerPageTemplate="3,6,9">

			<p:column>
				<p:panel>
					<h:panelGrid columns="1" style="width:100%">
						<p:graphicImage value="#{resim.resimKonum}"
							style="height:100px; width:90px;" />

						<p:commandButton value="Delete" update=":urunislemForm"
							id="DeletePictures"
							action="#{ResimlerBean.deleteAygitFile(resim)}" />

					</h:panelGrid>
				</p:panel>
			</p:column>

		</p:dataGrid>

	</c:if>
	<ui:include src="uploadPictures.xhtml" />
</ui:composition>